package com.ts.enterprise.exception.check;


import com.ts.enterprise.exception.ExceptionEnum;

/**
 * 查询结果异常(即结果不符合预期, 例如@Null, @EmptyList)
 *
 * @author meng.yu
 * @date 2020/7/27
 */
public class ResultCheckException extends CheckException {
    public ResultCheckException() {
        super(ExceptionEnum.RESULT_CHECK_EXCEPTION.getCode(), ExceptionEnum.RESULT_CHECK_EXCEPTION.getMsg());
    }

    public ResultCheckException(String message) {
        super(ExceptionEnum.RESULT_CHECK_EXCEPTION.getCode(), message);
    }
}
